<template>
  <div class="dashboard">
    <components :is="BasicCard" />
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
// import { getAlltodo } from '@/api/user'
import BasicCard from '@/views/dashboard/components/basicCard.vue'
export default {
  name: 'Dashboard',
  data() {
    return {
      BasicCard
    }
  },
  computed: {
    ...mapGetters(['name'])
  },
  components: {
    BasicCard
  },
  async created() {
  }
}
</script>

<style lang="scss" >
.dashboard {
  .el-card__body {
    padding: 0;
    margin: 20px;

  }
}
</style>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
